const pkg = require('./package')

const title = '兴辉'
const kw = '';
const desc = '';

module.exports = {
  mode: 'universal',

  /*
  ** Headers of the page
  */
  head: {
    title: title,
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
			{ name: 'keywords', content: kw },
      { hid: 'description', name: 'description', content: desc },
			{ 'http-equiv':'content-type',content:'text/html;charset=utf-8'},
			{ 'http-equiv':'X-UA-Compatible',content:'IE=edge,chrome=1'},
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
    ],
		script:[
			{}
		]
  },

  /*
  ** Customize the progress-bar color
  */
  loading: { color: '#fff' },

  /*
  ** Global CSS
  */
  css: [
		'~assets/css/reset.css',
    'element-ui/lib/theme-chalk/index.css',
		'swiper/dist/css/swiper.min.css',
		'~static/css/public.css'
  ],

  /*
  ** Plugins to load before mounting the App
  */
  plugins: [
    '@/plugins/element-ui',
		'@/plugins/swiper'
  ],

  /*
  ** Nuxt.js modules
  */
  modules: [
    // Doc: https://github.com/nuxt-community/axios-module#usage
    '@nuxtjs/axios'
  ],
  /*
  ** Axios module configuration
  */
  axios: {
    // See https://github.com/nuxt-community/axios-module#options
  },

  /*
  ** Build configuration
  */
  build: {
    /*
    ** You can extend webpack config here
    */
    extend(config, ctx) {
      
    },
		extractCSS: { allChunks: true }
  }
}
